package uk.ac.glasgow.demosocs.impl;

import uk.ac.glasgow.demosocs.*;

/**
 * Represents a referendum result. The result could
 * either be yes, no or tie.
 *
 */

public class ReferendumResultImpl implements ReferendumResult {

	private String result;

	/**
	 * Constructor to create a new result
	 * @param result - The result of the election
	 * either yes, no or tie.
	 */
	public ReferendumResultImpl(String result) {
		this.result = result;
	}

	@Override
	public String getDisplayableDescription() {
		return result;
	}

}
